/****************************************************************************\
 Datei  : ThreadSync.cpp
 Projekt: T2 - Terminalkommunikation
 Inhalt : Implementierung der Thread Synchronisations Klassen
            CEvent
            CGuarded
            CGuarded::CGuard
 Datum  : 23.07.2000
 Autor  : CR - Christian Rodemeyer
 Hinweis: 
 Stempel: $Modtime: 14.11.00 8:58 $, $Author: Cr $, $NoKeywords: $ 
\****************************************************************************/

#include "StdAfx.h"
#include "Event.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

namespace SYS {

/****************************************************************************\
 CEvent: Implementierung
\****************************************************************************/
CEvent::CEvent(bool bInitiallySet, bool bManualReset)
{
  m_hEvent = ::CreateEvent(NULL, bManualReset, bInitiallySet, NULL);
}

}; // namespace SYS
